﻿<UserControl x:Class="AtletIS.Shared.WpfControls.Results"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="300" 
             d:DesignWidth="800" 
             Loaded="UserControl_Loaded" 
             FontFamily="Trebuchet MS"
             xmlns:my="clr-namespace:AtletIS.Shared.WpfControls" KeyUp="UserControl_KeyUp">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*"/>
            <ColumnDefinition Width="790"/>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>

        <Grid.RowDefinitions>
            <RowDefinition Height="50" />
            <RowDefinition Height="80" />
            <RowDefinition Height="auto" />
            <RowDefinition Height="50" />
            <RowDefinition Height="50" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>

        <my:HeaderBox
            Grid.Column="1" 
            Grid.Row="1" 
            x:Name="cbTitle" />

        <!-- LIST -->
        <ItemsControl
            Grid.Column="1" 
            Grid.Row="2"
            Width="790"
            MinHeight="50"
            HorizontalAlignment="Left"
            ScrollViewer.HorizontalScrollBarVisibility="Disabled"
            Name="lbStartList"
            BorderThickness="0" Focusable="False">

            <ItemsControl.Background>
                <SolidColorBrush />
            </ItemsControl.Background>

        </ItemsControl>

        <my:FooterBox 
            Grid.Column="1" 
            Grid.Row="3" 
            x:Name="footer" />

        <StackPanel
            Grid.Column="1" Grid.Row="4"
            Orientation="Horizontal"  HorizontalAlignment="Right">

            <Button
                Margin="30,5,5,5" Content="_Prev" Click="btnPrev_Click"
                Width="100px" HorizontalAlignment="Left" FontSize="18"
                BorderThickness="1" BorderBrush="SteelBlue" Background="White" Foreground="SteelBlue" Focusable="False" />

            <Button
                Margin="5,5,30,5" Content="_Next" Click="btnNext_Click"
                Width="100px" HorizontalAlignment="Right" FontSize="18"
                BorderThickness="1" BorderBrush="SteelBlue" Background="White" Foreground="SteelBlue" Focusable="False" />

        </StackPanel>

    </Grid>
    
</UserControl>
